package com.ruoyi.management.service;

import com.ruoyi.management.pojo.dto.DbInfoDto;
import com.ruoyi.management.pojo.entity.AirConditioningParam;
import com.ruoyi.management.pojo.entity.KhbhDbbh;
import com.ruoyi.management.pojo.param.CheckParam;
import com.ruoyi.management.pojo.vo.AmmeterTimeVO;
import com.ruoyi.management.pojo.vo.CheckVO;
import com.ruoyi.management.pojo.vo.EneryVO;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public interface EnergyService {

    Map<String, Object> readData(String dbbh, String qymc, Integer pageNum, Integer pageSize, String...params);

    List<EneryVO> Ccompute(String dbbh, String qymc, Date date, String zt);

    List<EneryVO> selectmouth(String dbbh, String qymc, Date month, String zt);

    List<Map<String, Object>> monthDayEnery(String dbbh, Date month);

    /**
     * 年度电量
     * @param dbInfoDto 电表信息
     * @return 电量
     */
    List<EneryVO> selectYearEnergy(DbInfoDto dbInfoDto);

    List<Map<String, Object>> yearMonthEnery(String dbbh, String year);

    List<CheckVO> checkEnergyList(String year, String zt,String tgszt);

    BigDecimal getZtMonthEnery(LocalDate month, String zt);

    Boolean checkEnergy(CheckParam checkParam);

    List<Map<String, Object>> dayEnergy(String dbbh, Date date);
    // 空调费计算
    Boolean airConditioning(List<AirConditioningParam> param);
}
